<!--
 * @Author: YuA
 * @Date: 2021-08-04 00:54:45
 * @LastEditTime: 2021-08-18 18:49:15
 * @FilePath: \index\src\components\common\navbar\NavBar.vue
-->
<template>
  <div class="nav_bar">
    <div class="left"><slot name="left"></slot></div>
    <div class="center"><slot name="center"></slot></div>
    <div class="right"><slot name="right"></slot></div>
  </div>
</template>

<script>
export default {
  name: "NavBar"
};
</script>

<style lang="scss" scoped>
.nav_bar {
  display: flex;
  height: 44px;
  margin: 0 10px;

  font-family: "iconfont" !important;
  line-height: 44px;
}

.left,
.right {
  width: 40px;
}

.center {
  flex: 1;
  overflow: hidden;
}
</style>
